/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.PLK.fixPLK.config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.principles.PLK.fixPLK.fixPLK.IfixPLK;
import za.ac.cput.principles.PLK.fixPLK.fixPLK.impl.Mechanic;
/**
 *
 * @author Dwayne
 */
@Configurable
public class AppConfig
{
    @Bean(name = "PLK")
    public IfixPLK IfixPLK() 
    {
        return new Mechanic();
    }

    @Bean
    public IfixPLK newPLK() 
    {
        return new Mechanic();
    }

    @Bean(name = "NPLK")
    public IfixPLK Mechanic()
    {
        return new Mechanic();
    }
}
